package com.hezuti.info.action;

import org.apache.tomcat.util.buf.UTF8Decoder;
import org.springframework.beans.factory.annotation.Autowired;

import com.hezuti.common.action.BaseAction;
import com.hezuti.info.service.InfoService;
import com.sun.xml.internal.fastinfoset.Encoder;

public class SchoolAction extends BaseAction{

	private String result;
	
	@Autowired
	private InfoService infoService;
	
	
	
	public String getAllCollageByCountry(){

		try{
			result=infoService.getAllCollageByCountry();
		}catch(Exception e){
			e.printStackTrace();
		}
		
		return SUCCESS;
	}



	public String getResult() {
		return result;
	}
	public void setInfoService(InfoService infoService) {
		this.infoService = infoService;
	}
	
	
	
}
